package myauctioneer;

import java.util.Vector;
/**
 * provides access to any "ITEM"-Object ("Article" in DB) which can be of kind:
 * Smartphone, Notebook, TabletPC
 */
public interface ArticleDAO {

	/**
	 * Vector mit allen verf&uuml;gbaren Article Objekten zur&uuml;ckgeben
	 */
	public Vector<Article> loadArticles();
	/**
	 * Einzelnes Article Objekt zur&uuml;ckgeben
	 */
	public Vector<Article> loadArticle(int item_id);
	/**
	 * Einzelnes Article Objekt speichern
	 * returns &quot;Article&quot; ... chaining
	 */
	public Article saveArticle(Article article);
}
